package com.fintech.third.model.moxie.alipay;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 魔蝎支付宝信息 - 银行卡信息
 * @author 吴俊峰
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MXAlipayBankInfo implements Serializable{

	private static final long serialVersionUID = 1L;

	@JsonProperty("mapping_id")
	private String mappingId;

	//该银行卡绑定的时间
	@JsonProperty("active_date")
    private Date activeDate;

	//该银行卡预留的手机号码
	@JsonProperty("mobile")
    private String mobile;

	//该银行卡后4位
	@JsonProperty("card_number")
    private String cardNumber;

	//该字段目前作用未知
	@JsonProperty("level")
    private Integer level;

	//该银行卡绑定的姓名
	@JsonProperty("user_name")
    private String userName;

	//该银行卡的银行名称
	@JsonProperty("bank_name")
    private String bankName;

	//该银行卡类型
	@JsonProperty("card_type")
    private String cardType;

	//该银行卡在支付宝的一个编号
	@JsonProperty("sign_id")
    private String signId;

	//是否已开通快捷支付
	@JsonProperty("open_fpcard")
    private Boolean openFpcard;
	
	//该银行卡在支付宝的加密标识
	@JsonProperty("provider_userid")
	private String providerUserid;

	public String getMappingId() {
		return mappingId;
	}

	public void setMappingId(String mappingId) {
		this.mappingId = mappingId;
	}

	public Date getActiveDate() {
		return activeDate;
	}

	public void setActiveDate(Date activeDate) {
		this.activeDate = activeDate;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public String getSignId() {
		return signId;
	}

	public void setSignId(String signId) {
		this.signId = signId;
	}

	public Boolean getOpenFpcard() {
		return openFpcard;
	}

	public void setOpenFpcard(Boolean openFpcard) {
		this.openFpcard = openFpcard;
	}

	public String getProviderUserid() {
		return providerUserid;
	}

	public void setProviderUserid(String providerUserid) {
		this.providerUserid = providerUserid;
	}
	
	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
}
